package com.geekaca.service.impl;

import com.geekaca.dao.BookDao;
import com.geekaca.service.BookService;

public class BookServiceImpl implements BookService {
    private BookDao bookDao;

    public void setBookDao(BookDao bookDao) {
        this.bookDao = bookDao;
    }

    @Override
    public int save() {
        System.out.println("Bookimplements save....");
        int i = bookDao.bookSave();
        return i;
    }

    public void myInit() {
        System.out.println("myInit");
    }

    public void myDestory() {
        System.out.println("myDestory");
    }


}
